Profile image

“Variable error: Stack empty” What does this mean?

2,815 TateNT34  11 days ago

I made a post about this, and the mods took it down because the thumbnail was, “misleading” (I need people to see the picture?) can someone help me with funky trees and posting a forum post w/pictures? Go here for the pic: https://www.simpleplanes.com/a/9WQ1D3/What-does-this-mean

Part of the code for the guns on the
B-25J Mitchell: https://www.simpleplanes.com/a/hoGyGV/B-25J-Mitchell
I’m trying to add the bombarder’s nose gun to the B-57B canberra: https://www.simpleplanes.com/a/9N4V17/B-57B-Canberra

Here’s one half of the code:

Distance/800) * sin((TargetElevation + 90 + rate(TargetElevation) * TargetDistance/800)) * cos((TargetHeading - Heading + rate(TargetHeading) * TargetDistance/800))) + sin(-PitchAngle) * ((TargetDistance + rate(TargetDistance) * TargetDistance/800) * cos((TargetElevation + 90 + rate(TargetElevation) * TargetDistance/800)))) < 0) ? (((sin(RollAngle) * sin(-PitchAngle) * ((TargetDistance + rate(TargetDistance) * TargetDistance/800) * sin((TargetElevation + 90 + rate(TargetElevation) * TargetDistance/800)) * cos((TargetHeading - Heading + rate(TargetHeading) * TargetDistance/800))) + cos(RollAngle) * ((TargetDistance + rate(TargetDistance) * TargetDistance/800) * sin((TargetElevation + 90 + rate(TargetElevation) * TargetDistance/800)) * sin((TargetHeading - Heading + rate(TargetHeading) * TargetDistance/800))) + cos(-PitchAngle) * (-sin(RollAngle)) * ((TargetDistance + rate(TargetDistance) * TargetDistance/800) * cos((TargetElevation + 90 + rate(TargetElevation) * TargetDistance/800))))>0) ? 180 : -180) : 0

  • Log in to leave a comment
  • Profile image

    It comes from a bracket mismatch, maybe if you close more than you open

    +1 11 days ago
  • Profile image
    2,815 TateNT34

    What does the “Stack empty” mean tho

    11 days ago
  • Profile image
    29.2k IFVuser

    you can use an image hosting web, like Postimages
    first upload a pic, then copy the direct link, and put it on the desc using this format :

    ![text](link here)
    just put link in the "( )"

    11 days ago
  • Profile image
    2,662 griges

    removed

    +1 11 days ago